//
//  EFOrderUserInfoItem.m
//  EnjogFood
//
//  Created by 王芳 on 17/5/17.
//  Copyright © 2017年 wf. All rights reserved.
//

#import "EFOrderUserInfoItem.h"
#import "EFOrderUserInfoCell.h"

@implementation EFOrderUserInfoItem

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.viewClass=  [EFOrderUserInfoCell class];
        self.viewHeight =  80;
    }
    return self;
}

-(instancetype)initWithMyDefaultAddress:(EFMyDeliveryAddressViewItem *)item{
    self = [self init];
  
    self.id = item.id;
    self.name = item.name;
    self.phone = item.phone;
    self.addr = item.address;
    self.addr_detail = item.addressDetail;
    self.showMore = true;
    
    return self;
}

@end
